package com.woniuxy.ticket.ticketmovie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@TableName("ticket_movie")
public class Movie implements Serializable {

    private static final long serialVersionUID = -1461212843602202893L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //电影名
    private String name;
    //导演
    private String director;
    //主演
    private String actor;
    //简介
    private String description;
    //海报
    private String stills;
    //预告片
    private String trailer;
    //评分
    private BigDecimal score;
}
